import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '@/views/tab/index/index.vue'

Vue.use(VueRouter)

export const routes = [
  {
    path: '/',
    name: 'home',
    component: HomeView
  },
  {
    path: '/dataSet',
    name: 'dataSet',
    component: () => import(/* webpackChunkName: "about" */ '../views/tab/dataSet')
  },
  {
    path: '/bar',
    name: 'bar',
    component: () => import(/* webpackChunkName: "about" */ '../views/tab/bar')
  },
  {
    path: '/enshi',
    name: 'enshi',
    component: () => import(/* webpackChunkName: "about" */ '../views/enshi/index')
  },
  {
	 path: '/ff',
	 name: 'ff',
	 component: () => import(/* webpackChunkName: "about" */ '../views/ff/index') 
  }
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
